﻿using Abp.AutoMapper;
using Batman.RefiningPharmacist.Domains;
using System;
using System.ComponentModel.DataAnnotations;

namespace Batman.RefiningPharmacist.Services.Inputs
{
    [AutoMap(typeof(CompositeItem))]
    public class CreateCompositeItemInput
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessage = "内容项标题不能为空")]
        public string CompositeItemName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public float CompositeItemAmount { get; set; }
    }
}
